package com.dragon.test.utils;

import org.aspectj.lang.ProceedingJoinPoint;

public class Logger {

	public void printLog() {
		System.out.println("开始记录日志...");
	}

	public Object aroundAdvice(ProceedingJoinPoint joinPoint) throws Throwable {
		Object object = null;
		System.out.println("前置通知/环绕通知1");
		object = joinPoint.proceed();
		System.out.println("后置通知/环绕通知2");
		return object;
	}

}
